package com.link2room.ironhide.service;


import com.link2room.ironhide.entity.L2RHotelPosition;
import com.link2room.ironhide.dto.result.base.PositionBaseDto;

import java.util.List;

/**
 * Created by sss on 2016/10/12.
 */
public interface IL2RPositionService {

    <S>List<PositionBaseDto> listPositionBase(
            String lhotelGroupCode, String lhotelCode, S queryObj,
            Class<S> sourceClass)
            throws Exception;

    void saveOrUpdateHotelPositions(String lhotelGroupCode, String lhotelCode, List<L2RHotelPosition> l2RHotelPositionList)throws Exception;
}
